import request from "../utils/request.js";

// request("/login","get",{username:"白白",password:"123456"})
//登录
export function login(params){
	return request("/api/webapi/login","POST",params)
	
}
//注册
export function registration(params){
	return request("/api/webapi/reguser","POST",params)
	
}
//修改密码
export function updatedPassword(params){
	return request("/webapi/updatepwd","POST",params)
	
}
//修改信息
export function updateUser(params){
    return request("/webapi/updateUserinfo","Post",params)
}
//用户提交申请
export function apply(params){
    return request("/applyAdd","Post",params)
}
//用户申请提交的状态
export function applyState(id){
    return request(`/adminapi/ApplyByUserId/${id}`,"get")
}
//提交跑腿订单
export function orderAdd(params){
	return request('/orderAdd','post',params)
}